#ifndef __DATAPARA_H_
#define __DATAPARA_H_

#include "WebServer.h"
#include "cJSON.h"

//创建一个数据解析事件组句柄
extern EventGroupHandle_t  data_analy_event_group;

//测距开始事件位 RANGING
#define data_analy_start       BIT0
#define WiFiConnect_Success    BIT1
#define GetLocaltionmess  BIT2
#define UploadJsonToAwsCloud   BIT3

extern cJSON *uploaddata;
extern bool DataPataRunFlag;
extern void DataPara(char *RecArrPoint);
extern void OTA_Job_Data_Deal(char *RecTpoicDataPoint);


typedef struct{
    const char *  url;
    char *  jobId;
    bool Valid_URL;
    
}OTA_Ino_Type_t;



extern OTA_Ino_Type_t  AWS_OTA_Ino;




#endif